kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 07:06:10 +0000 (07:06 +0000)]
Under the right circumstances, xenconsoled will corrupt its internal
list of domains causing a SEGV. This is usually characterized by a
rapid number of creations/destructions. The attached patch fixes this.
1) Fix uninitialized next pointer. This could sometimes cause xenconsoled to
SEGV on an invalid domain pointer
2) Fix race condition in iterating domain list where removing a domain in a
callback could lead to the iterators becoming invalid.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
iap10@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 01:04:32 +0000 (01:04 +0000)]
merge
iap10@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 01:01:19 +0000 (01:01 +0000)]
merge
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 21:47:44 +0000 (21:47 +0000)]
Tweaks to network-bridge script.
Signed-off-by: ian@xensource.com
adsharma@los-vmm.sc.intel.com [Mon, 15 Aug 2005 20:50:38 +0000 (12:50 -0800)]
Enable multi-word DMA mode 2 for the PIIX3 chipset
Without this patch, Linux PIIX3 driver would see ultra DMA and get confused
and ended up disabling DMA.
With the patch, we're able to see 3x increase in disk read throughput.
Signed-off-by: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
adsharma@los-vmm.sc.intel.com [Mon, 15 Aug 2005 20:50:32 +0000 (12:50 -0800)]
Distinguish ioemu handled devices and para virtualized devices
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
adsharma@los-vmm.sc.intel.com [Mon, 15 Aug 2005 20:50:25 +0000 (12:50 -0800)]
Don't leave vncviewer processes running if xm create fails
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
ach61@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 19:04:28 +0000 (19:04 +0000)]
PDB: watchpoints for process context
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 18:56:10 +0000 (18:56 +0000)]
Enable magic sysrq in -xen x86_64 kernel
Signed-off-by: ian@xensource.com
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 18:38:13 +0000 (18:38 +0000)]
Update x86_64 Linux kernels to add SMP to -xen and -xenU plus magic sysrq to all.
Signed-off-by: ian@xensource.com
vh249@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 15:34:23 +0000 (15:34 +0000)]
Upgrade to Linux 2.6.12.5 patch
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
iap10@freefall.cl.cam.ac.uk [Mon, 15 Aug 2005 14:52:59 +0000 (14:52 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Mon, 15 Aug 2005 14:52:32 +0000 (14:52 +0000)]
Quieten down grant table code.
Signed-off-by: ian@xensource.com
akw27@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 13:50:39 +0000 (13:50 +0000)]
Trivial fixes for a couple of xenlinux compile warnings.
Signed-off-by: <andrew.warfield@cl.cam.ac.uk>
akw27@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 13:16:04 +0000 (13:16 +0000)]
Add generic_page_range() -- generic page table operation.
Linux has several instances of repeated code to do updates to a range
of PTEs. Mapping memory between domains in Xen also tends to need to
do this quite frequently, to ensure page tables have been constructed
and to look up PTE addresses when making mapping-related hypercalls.
This patch adds a generic PTE walk-and-fill operation that takes a
function pointer to call on leaf entries. direct_remap_area_pages()
is updated to use the new call, ass are abuses of
__direct_remap_area_pages.
This patch also introduces two new helper functions for working with
page tables when mapping memory between domains:
create_lookup_pte_addr() returns the machine address of a PTE,
allocating intermediate page tables as necessary. touch_pte_range()
ensures that page tables exist for a virtual address range.
Many of the existing linux page table operations (e.g. zap/remap/etc)
could be modified to use this interface, which would potentially
shorten up mm/memory.c a bit.
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 12:41:57 +0000 (12:41 +0000)]
Add a far more complete -xen config file for x86_64, based on FC3.
From: Chengyuan Li chengyuan.li@intel.com
NB: We should probably advertise the existence of the -xen configs. These are almost certainly what end-users should be using rather than -xen0 and -xenU, which are really for the convenience of developers.
Signed-off-by: ian@xensource.com
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 12:37:12 +0000 (12:37 +0000)]
merge
vh249@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 12:26:20 +0000 (12:26 +0000)]
Small change to remove difference between Xen and mainline deactivate_mm.
While there, cleanup prepare_arch_switch as well. This generates
identical code.
Signed-off-by: Chris Wright <chrisw@osdl.org>
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 10:55:11 +0000 (10:55 +0000)]
Add a few options to the Linux x86_64 domU config.
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:52:34 +0000 (07:52 +0000)]
Just a very simple patch that removes:
rch/xen/x86_64/mm/init.c: In function `xen_init_pt':
arch/xen/x86_64/mm/init.c:560: warning: unused variable `old_level4
rch/xen/x86_64/kernel/apic.c: In function `smp_local_timer_interrupt':
arch/xen/x86_64/kernel/apic.c:48: warning: unused variable `cpu'
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:52:19 +0000 (07:52 +0000)]
The patch cleans up (ugly) setup.c that I wanted to fix for a long time
(but did not have time for that).
It should be compiled for the native x86_64 Linux as well (but not
tested yet, so I don't guarantee):
- no #if 0 or comment out
- use CONFIG_XEN for xen specific code
- preparation for merge to the upstream
- tested both dom0 (UP and SMP) and domU
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:51:58 +0000 (07:51 +0000)]
The patch attached removes pda.h and asm_offset.c by deleting unused or
unnecessary variables (that were used for old codes).
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:45:42 +0000 (07:45 +0000)]
Fix special backptr values on x86/64 to avoid spurious
wrpt emulations.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:26:04 +0000 (07:26 +0000)]
Fix cpu_khz reporting in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:24:30 +0000 (07:24 +0000)]
merge.
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:42:11 +0000 (23:42 +0000)]
Enable grant tables by default for network; merge fixes to grant_table.c.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:39:25 +0000 (23:39 +0000)]
Enable grant tables by default for networking. Note that the restore path
(for resume/migrate) is not yet there, but should be shortly.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:22:55 +0000 (23:22 +0000)]
Less verbosity from grant_tables.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:20:22 +0000 (23:20 +0000)]
Less verbose grant tables when xen is verbose.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 22:56:46 +0000 (22:56 +0000)]
Build fixes for grant tables.
Signed-off-by: Steven Hand <steven@xensource.com>
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 22:45:44 +0000 (22:45 +0000)]
Upgrade to Linux 2.6.12.4 patch
Signed-off-by: ian@xensource.com
--HG--
rename : patches/linux-2.6.12/linux-2.6.12.3.patch => patches/linux-2.6.12/linux-2.6.12.4.patch
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 22:09:18 +0000 (22:09 +0000)]
Clean up correct number of grant references on netif destory.
Signed-off-by: Steven Hand <steven@xensource.com>
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 21:48:37 +0000 (21:48 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 21:45:26 +0000 (21:45 +0000)]
Make the default network-script to be '' i.e. don't run a network script. Fix Makefile to actually install network-bridge script.
Signed-off-by: ian@xensource.com
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 20:34:41 +0000 (20:34 +0000)]
merge
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 20:34:13 +0000 (20:34 +0000)]
Allow use of grant tables for netdev tx+rx rings. Code is kinda
ugly due at least in part to the fact that we still have separate
_TX and _RX grant config options - expect this to be unified soon.
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 18:58:25 +0000 (18:58 +0000)]
Fix __pte,__pmd,__pgd for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 17:44:30 +0000 (17:44 +0000)]
Reduce Xen noise on x86/64.
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 17:33:32 +0000 (17:33 +0000)]
merge.
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 17:32:30 +0000 (17:32 +0000)]
Some arch/x86 gnttab cleanups in Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 16:55:34 +0000 (16:55 +0000)]
Now we have verbose=y in Xen by default, tidy up a few unhelpful printk's.
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 09:17:54 +0000 (09:17 +0000)]
Avoid stack overflow in netback by statically allocating the
grant-table map/unmap arrays. Spotted by Michael Vrable.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 09:07:56 +0000 (09:07 +0000)]
Currently xm list --long only displays info about the last domain. The
attached patch fixes this so it displays info about each domain.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 09:06:32 +0000 (09:06 +0000)]
This patch fixes the booting problems on machines with >4GB memory, and
is applicable to both x86_64 and x86 PAE.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 08:09:06 +0000 (08:09 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 07:32:21 +0000 (07:32 +0000)]
Fix x86_64 build.
From: Nakajima, Jun [jun.nakajima@intel.com]
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 22:04:22 +0000 (22:04 +0000)]
merge...
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 22:02:54 +0000 (22:02 +0000)]
New 'network-bridge' script that uses ifdown/ifup to configure the interface rather than trying to transfer addresses and routes. (Suggested by Gerd Knorr)
Although Li Ge has had problems with this script he had trouble with the previous too. I think this new one should work for more people, particularly those using DHCP on their primary dom0 interface.
Debugging is currently enabled ("sh -x") so a log of the script's execution is output to /var/log/xend.log
Signed-off-by: ian@xensource.com
--HG--
rename : tools/examples/network => tools/examples/network-bridge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:55:11 +0000 (21:55 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:52:46 +0000 (21:52 +0000)]
Add "set_pte_at_sync" (integrated invlpg) in Linux i386/mm/highmem.c to improve performance for domains with >900MB of memory.
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:26:49 +0000 (21:26 +0000)]
Optimize the Linux arch xen implementation of "set_pte_at".
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:03:39 +0000 (21:03 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:01:35 +0000 (21:01 +0000)]
I missed a couple of files out of the patch to wrap calls to update_va_mapping with BUG_ON(). [We really need an equivalent of 'citool' for mercurial...]
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 20:49:29 +0000 (20:49 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 20:47:47 +0000 (20:47 +0000)]
Add some profiling support for writeable pagetables.
Signed-off-by: ian@xensource.com
akw27@arcadians.cl.cam.ac.uk [Sat, 13 Aug 2005 16:01:23 +0000 (16:01 +0000)]
Fix .hgignore to reflect change in parallax directory structure.
akw27@arcadians.cl.cam.ac.uk [Sat, 13 Aug 2005 15:47:53 +0000 (15:47 +0000)]
Remove unnecessary union in grant table map/unmap ops.
All addresses, host virtual and PTEs, are now passed in the cunningly
ambiguous "host_addr" field, rather than in an anonymous union.
kaf24@firebug.cl.cam.ac.uk [Sat, 13 Aug 2005 09:06:44 +0000 (09:06 +0000)]
If block-create didn't work, then chances are block-destroy doesn't work
either right :-)
In this case, XendDomain.py is just calling a function that doesn't
exist (device_destroy instead of device_delete).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 13 Aug 2005 09:06:20 +0000 (09:06 +0000)]
xm block-create doesn't work. It seems like this command hasn't even
been tested (perhaps since the un-Twisting?). This particular problem
was that one function was being called with self instead of the right
argument and another function's return value was being used when it
didn't actually return anything.
This patch also improves the error handling a bit by making sure we
don't thrown an exception on a log statement with a None value. In
general, one should always use the % formatter instead of concatination
for strings in Python (even though this is not what this patch does).
Signed-off-by: Anthony Liguori
akw27@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 17:52:47 +0000 (17:52 +0000)]
This changest allows grant mappings to arbitrary PTEs.
The map operation now takes PTE addresses as well as virtual
addresses. The contains_pte flag is used to indicate what sort of
address is in the map request.
Additionally, this patch:
- fixes grant mappings to user space.
- fixes overflow testing when you run out of maptrack entry space.
Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
Signed-off-by: Leoffrey Lefebvre <geoffrey.g.lefebvre@intel.com>
iap10@freefall.cl.cam.ac.uk [Fri, 12 Aug 2005 16:59:24 +0000 (16:59 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Fri, 12 Aug 2005 16:05:37 +0000 (16:05 +0000)]
Remove the BUG() from HYPERVISOR_update_va_mapping and change all the appropriate callers to wrap in BUG_ON()
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 15:59:34 +0000 (15:59 +0000)]
Build xenstore interface as shared library.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 14:53:26 +0000 (14:53 +0000)]
another merge
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 13:33:57 +0000 (13:33 +0000)]
forget to substitute CC back to gcc
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 13:29:57 +0000 (13:29 +0000)]
merge
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 13:06:23 +0000 (13:06 +0000)]
Fix wallclock time when the offset relative to the epoch
(1 Jan 1970 00:00:00) is negative. This happens in some
LTP tests, for example.
Signed-off-by: Keir Fraser <keir@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 13:05:50 +0000 (13:05 +0000)]
make needlessly global functions static and use NULL instead of 0 for pointer
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 10:51:39 +0000 (10:51 +0000)]
not valid file descriptor is -1 not 0
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 10:48:42 +0000 (10:48 +0000)]
remove pointless NULL checks before free()
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 09:14:02 +0000 (09:14 +0000)]
Rearrange code in __start_xen() to work around internal
compiler error in x86/64 gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 07:21:45 +0000 (07:21 +0000)]
Fix --output-pid (broken when we fixed --pid-file).
Thanks to Jerone Young for spotting this.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 22:18:27 +0000 (22:18 +0000)]
This patch fixes "xm reboot" command.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 22:18:02 +0000 (22:18 +0000)]
domU always reports an error "Ignoring shutdown request: -1" when we
shutdown it from dom0 (using "xm shutdown" command). This patch fixes
it.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 22:12:11 +0000 (22:12 +0000)]
Memory leak in xc_linux_save, and uninitialised var
in secpol_tool.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:52:22 +0000 (21:52 +0000)]
Fix loop iterator aliasing in x86/32 memory initialisation.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:38:58 +0000 (21:38 +0000)]
Support VCPU migration for VMX guests.
Add a hook to support CPU migration for VMX domains
Reorganize the low level asm code to support relaunching a VMCS on a different
logical CPU.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:19:45 +0000 (21:19 +0000)]
Fix getdomaininfo for vmx guests.
Replaces Intel patch [14/15].
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:09:06 +0000 (21:09 +0000)]
Remove arch/xen/x86_64/kernel/init_task.c from sparse tree. It's
identical to the base file, and already marked as a c-link.
Signed-off-by: Chris Wright <chrisw@osdl.org>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:08:51 +0000 (21:08 +0000)]
A simple make ARCH=xen clean && make ARCH=xen vmlinuz will fail because
arch/xen/x86_64/kernel/pci-nommu.c and arch/xen/x86_64/kernel/pci-dma.c
symlinks get removed and relinked to base implementation. Make these non
c-obj's to preserve sparse tree links.
Signed-off-by: Chris Wright <chrisw@osdl.org>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:07:17 +0000 (21:07 +0000)]
Change vpit->period and friends to count in nanoseconds.
This actually reduces the amount of 64 bit math we need to do.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:06:35 +0000 (21:06 +0000)]
Implement event filtering command line options for xentrace.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:06:15 +0000 (21:06 +0000)]
When the guest shuts down a VM, make sure that the domain gets destroyed.
Device model needs to do xm destroy before it exits on
guest shutdown/poweroff/halt -p.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:05:58 +0000 (21:05 +0000)]
[ We'll try to get in a proper fix into 3.0 - this is just the backup plan]
Don't attempt to create paravirtualized devices for VMX domains for now.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:05:21 +0000 (21:05 +0000)]
Fix comments about the localtime option.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:04:35 +0000 (21:04 +0000)]
Clean up unused junk in xemexample.vmx
Signed-off-by: YongKang You <yongkang.you@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:04:17 +0000 (21:04 +0000)]
Need to reset device model pid on reboot
Without this, xend will not spawn a new device model process after the reboot.
Signed-off-by: Ke Yu <ke.yu@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:03:16 +0000 (21:03 +0000)]
Support rebooting VMX domains
Signed-off-by: Ke Yu <ke.yu@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:02:51 +0000 (21:02 +0000)]
Handle VMX domains correctly across xend restarts
This patch remembers the device model pid across xend restarts and
avoids creating duplicate device model processes.
Also, device models don't inherit socket fds from xend (which are closed
on exec now), which used to prevent xend restarting.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:01:36 +0000 (21:01 +0000)]
Separate out VMCS host state initialization from the rest
This is needed to support virtual cpu migration, because the host state
initialization is done on every migration, but the rest of the initialization
is done once per vcpu.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 21:01:10 +0000 (21:01 +0000)]
Improved error reporting on vmlaunch/vmresume failure.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 20:58:08 +0000 (20:58 +0000)]
Fix config file parsing for VMX domains.
If we define "vif" in the config file, image.py will raise error "vmx:
missing vbd configuration". The reason is "vif" is dealt with as a "vbd"
device.
This patch fixes this issue by dealing with "vbd" and "vif " separately,
removing "macaddr" arg and parsing mac address from "vif" instead.
Also, the vbd doesn't have to be a file anymore, but can be a physical
disk partition.
Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 20:57:09 +0000 (20:57 +0000)]
This patch addresses Rustys' [1]suggestions. Most visibly:
Entries in the store:
/cpus/cpuX/online -> /cpu/X/availability
Values:
0|1 -> online|offline
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 18:03:22 +0000 (18:03 +0000)]
Fix handling of memory holes for Xen heap and domain 0
kernel image and ramdisk.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 16:48:36 +0000 (16:48 +0000)]
Clean up event-channel notification code in Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 16:23:54 +0000 (16:23 +0000)]
Fix where "!" operator used in Bitwise operation.
In IBM we have an internal source code scanner called BEAM. We have run
it against Xen and here are some of the results.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 13:07:08 +0000 (13:07 +0000)]
More time fixes. Now time is set properly in domU's, and
settimeofday() is simplified and fixed.
Signed-off-by: Keir Fraser <keir@xensource.com>
twilkie@paploo.uk.xensource.com [Thu, 11 Aug 2005 12:06:32 +0000 (12:06 +0000)]
Added support for abbreviated xm sub commands
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 10:34:32 +0000 (10:34 +0000)]
PAE page directories must be below 4GB. Based on a patch
from Gerd Knorr.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 11 Aug 2005 08:59:47 +0000 (08:59 +0000)]
The following patch provides x86_64 SMP support for xen linux. Many,
many thanks to the help for bug fixes, cleanups, good domU support,
and more from Jun and Xin. I've tested this on a couple different
machines, and made sure the UP build still boots and works. dom0 and
domU smp both work. There's still some cleanups to do, but we'd prefer
to do the last bit in tree. This doesn't update defconfigs just yet.
That'll be a follow-on patch shortly, so for now, you'll have to manually
enable CONFIG_SMP if you'd like to test.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>